/*
 * @Description:测试类
 * 
 * @Author: rendc
 * 
 * @Date: 2025-08-06 14:11:43
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2025-08-06 14:12:53
 */

public class Test {

  public static void main(String[] args) {

    MyThread myThread = new MyThread() {
      @Override
      public void run() {
        System.out.println("重写run方法");
      }
    };
    myThread.run();
    myThread.test();
  }
}